<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
  </head>
   <body>
<div class="wrapper">
    <div class="header">
        <div class="login-box">
            <?php include_component('sfApply', 'login')?>
            <?php if($sf_user->isAuthenticated()):?>
                <?php echo link_to('Переглянути всі результати', '@alltests',array('class' => 'alltests'))?>
            <?php endif;?>
        </div>
        <div class="title-box">
            <?php echo link_to(image_tag('head.png'),'@homepage', array("class" => 'logo'))?>
            <h1>Тестова система перевірки знань</h1>            
        </div>
    </div>
    <div class="content">
        <?php echo $sf_content ?>
    </div>
</div>
    <div class="footer">
         <p>&copy; Djulien. </p>
    </div>
  </body>
</html>
